<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('操作原因')" />
</head>
<body class="white-bg">
	<div class="wrapper wrapper-content animated fadeInRight ibox-content">
		<form class="form-horizontal m" id="form-user-resetPwd">
			<input name="ids" id="ids" type="hidden" th:value="${ids}" />
			<div class="form-group">
				<div class="col-sm-12">
					<input type="text" id="offLineReason" th:placeholder="下线通知原因"
						   class="form-control" maxlength="50" rows="5" name="offLineReason">
				</div>
			</div>
		</form>
	</div>
	<th:block th:include="include :: footer" />
	<script type="text/javascript">

		function submitHandler() {
			var offLineReason = $("#offLineReason").val();
			if ($.common.isEmpty(offLineReason)){
				$.modal.alertError("请填写下线通知原因")
				return;
			}
		    var data;
            var url;
			data = { "ids":  $("#ids").val(), "offLineReason": offLineReason};
			url = ctx + "media/album/offLineNotice";
            $.operate.save(url, data);
	    }
	</script>
</body>

</html>
